import { http } from './request'

export async function postReply(data) {
    try {
        const response = await http.post(`/api/posts`,data)
        return response.data
      } catch (error) {
        console.error('获取用户信息失败:', error)
        throw error
      }
  }